package org.wlc.demov1Impl.mqservice;

import com.alibaba.fastjson.JSON;
import org.wlc.demov1.mq.CreateAccount;

/**
 * @author wanglichao
 * 注册开户 接受消息
 */
public class CreateAccountMqService {

    public void onMessage(String message) {

        CreateAccount mq = JSON.parseObject(message, CreateAccount.class);

        mq.getNumber();
        mq.getAccountDate();

        // ... 处理自己的业务
    }

}
